home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
exec
/
fungpath.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
379 b
|
23 lines
/*
\funcref{fun\_g\_path}{void fun\_g\_path ()}
{}
{}
{newvar(), get\_path ()}
{fun\_g\_ext(), fun\_g\_base()}
{fungpath.c}
{
The last pushed string is taken as a file name. The path is
returned.
}
*/
#include "icm-exec.h"
void fun_g_path ()
{
reg = newvar (e_str);
reg.vu.i->ls.str = get_path (stack [sp].vu.i->ls.str);
}